package cn.hk.vaccination.service;

import cn.hk.vaccination.domain.SubscribeInfo;
import cn.hk.vaccination.domain.vo.OrderRecorderVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

/**
 * <p>
 * 预约信息表 服务类
 * </p>
 *
 * @author xu
 * @since 2023-03-12
 */
public interface SubscribeInfoService extends IService<SubscribeInfo> {

    AjaxResult vaccineOder(SubscribeInfo subscribeInfo);

    List<SubscribeInfo> getVaccineOderList(Long userId);

    List<OrderRecorderVo> getVaccineRecordList(Long userId);

    List<SubscribeInfo> getVaccineOderToDoList(Long userId);

    Boolean signIn(Long id);

    Boolean cancelOder(Long id);

    SubscribeInfo getOneById(Long id);

}
